<?php

class RobotInitAction extends SzAbstractAction
{
    Protected $paramTypes = array(
        SzAbstractAction::TYPE_INT
    );

    public function __construct()
    {
        ini_set('memory_limit', '-1');
        set_time_limit(0);
    }

    /**
     * 创建机器人用户
     *
     * @param int $limit
     * @return SzResponse
     * @throws SzException
     */
    public function execute($limit = 20)
    {
        return $this->buildResponse([
            []
//            UserService::get()->createRobotsUser($limit)
        ]);
    }
}
